package com.bojiu.lawsearch.lawsearch.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: afdiao
 * @Date：2020/3/15 13:38
 * @Description: 前端查询条件
 */
@ApiModel(value = "查询对象", description = "查询的各个字段")
@Data
public class SearchFactor {

    @ApiModelProperty(value = "检索范围，全选则不填", required = false)
    private String range;

    @ApiModelProperty(value = "适用区域的省份，全选则不传", required = false)
    private String province;

    @ApiModelProperty(value = "适用区域的城市", required = false)
    private String city;

    @ApiModelProperty(value = "文件类型，0是法律，1是规范和其他，全选不传", required = false)
    private String fileType;

    @ApiModelProperty(value = "指定行业，多选的话id用逗号隔开", required = false)
    private String profession_ids;

    @ApiModelProperty(value = "检索对象，描述主体，主体为空的话对象描述跟问题描述字段则不传", required = false)
    private String rule;

    @ApiModelProperty(value = "对象描述", required = false)
    private String ruleDescribe;

    @ApiModelProperty(value = "计量单位，只传值  例如：米     前面的类型不传", required = false)
    private String unitName;

    @ApiModelProperty(value = "问题描述，fuck！！！", required = false)
    private String question;

    @ApiModelProperty(value = "标签的id，多选用逗号分隔", required = false)
    private String labelIds;

    @ApiModelProperty(value = "大标题的id",required = false)
    private Integer titleId;

    private int type;

    private String titleIds;

    private String Aids;
    private String Bids;
    private String Cids;
    private String Dids;
}
